import { defineConfig } from 'umi';
import routes from './routes';

export default defineConfig({
  nodeModulesTransform: {
    type: 'none',
  },

  routes: routes,
  // 配置开启 antd组件库
  antd: {
    // 暗黑主题
    // dark: true,
  },

  //开启自定义视图骨架
  layout: {
    name: 'my Ant Design',
    locale: true,
    layout: 'side',
  },

  mfsu: {},
  fastRefresh: {},
});
